package com.mingmen.supplier.model;

import java.util.List;

public class CaiGouListModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-08-18 14:35:59
     * data : [{"billId":"1295602747076382720","applyId":"1295598083379433472","limitDate":"2020-08-18","timespan":"0","shipping":"","shippingFee":0,"supplierId":"670","supplierName":"迎宾烧烤","status":"4","restaurantAddress":"1","details":[{"billId":"1295602747076382720","billDetailId":"1295602747600670720","applyId":"1295598083379433472","applyDetailId":"1295598083966636032","commodityId":"1294154004846624768","commodityName":"茄子","specs":"1","price":0,"amount":0,"status":"4","supplierId":"670","supplierName":"迎宾烧烤","shipping":"","shippingFee":0,"restaurantAddres":"1"}]}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * billId : 1295602747076382720
         * applyId : 1295598083379433472
         * limitDate : 2020-08-18
         * timespan : 0
         * shipping :
         * shippingFee : 0
         * supplierId : 670
         * supplierName : 迎宾烧烤
         * status : 4
         * restaurantAddress : 1
         * details : [{"billId":"1295602747076382720","billDetailId":"1295602747600670720","applyId":"1295598083379433472","applyDetailId":"1295598083966636032","commodityId":"1294154004846624768","commodityName":"茄子","specs":"1","price":0,"amount":0,"status":"4","supplierId":"670","supplierName":"迎宾烧烤","shipping":"","shippingFee":0,"restaurantAddres":"1"}]
         */

        private String billId;
        private String applyId;
        private String limitDate;
        private String timespan;
        private String shipping;
        private int shippingFee;
        private String supplierId;
        private String supplierName;
        private String status;
        private String restaurantAddress;
        private List<DetailsBean> details;

        public String getBillId() {
            return billId;
        }

        public void setBillId(String billId) {
            this.billId = billId;
        }

        public String getApplyId() {
            return applyId;
        }

        public void setApplyId(String applyId) {
            this.applyId = applyId;
        }

        public String getLimitDate() {
            return limitDate;
        }

        public void setLimitDate(String limitDate) {
            this.limitDate = limitDate;
        }

        public String getTimespan() {
            return timespan;
        }

        public void setTimespan(String timespan) {
            this.timespan = timespan;
        }

        public String getShipping() {
            return shipping;
        }

        public void setShipping(String shipping) {
            this.shipping = shipping;
        }

        public int getShippingFee() {
            return shippingFee;
        }

        public void setShippingFee(int shippingFee) {
            this.shippingFee = shippingFee;
        }

        public String getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(String supplierId) {
            this.supplierId = supplierId;
        }

        public String getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(String supplierName) {
            this.supplierName = supplierName;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getRestaurantAddress() {
            return restaurantAddress;
        }

        public void setRestaurantAddress(String restaurantAddress) {
            this.restaurantAddress = restaurantAddress;
        }

        public List<DetailsBean> getDetails() {
            return details;
        }

        public void setDetails(List<DetailsBean> details) {
            this.details = details;
        }

        public static class DetailsBean {
            /**
             * billId : 1295602747076382720
             * billDetailId : 1295602747600670720
             * applyId : 1295598083379433472
             * applyDetailId : 1295598083966636032
             * commodityId : 1294154004846624768
             * commodityName : 茄子
             * specs : 1
             * price : 0
             * amount : 0
             * status : 4
             * supplierId : 670
             * supplierName : 迎宾烧烤
             * shipping :
             * shippingFee : 0
             * restaurantAddres : 1
             */

            private String billId;
            private String billDetailId;
            private String applyId;
            private String applyDetailId;
            private String commodityId;
            private String commodityName;
            private String specs;
            private int price;
            private int amount;
            private String status;
            private String supplierId;
            private String supplierName;
            private String shipping;
            private int shippingFee;
            private String restaurantAddres;

            public String getBillId() {
                return billId;
            }

            public void setBillId(String billId) {
                this.billId = billId;
            }

            public String getBillDetailId() {
                return billDetailId;
            }

            public void setBillDetailId(String billDetailId) {
                this.billDetailId = billDetailId;
            }

            public String getApplyId() {
                return applyId;
            }

            public void setApplyId(String applyId) {
                this.applyId = applyId;
            }

            public String getApplyDetailId() {
                return applyDetailId;
            }

            public void setApplyDetailId(String applyDetailId) {
                this.applyDetailId = applyDetailId;
            }

            public String getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(String commodityId) {
                this.commodityId = commodityId;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }

            public String getSpecs() {
                return specs;
            }

            public void setSpecs(String specs) {
                this.specs = specs;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getSupplierId() {
                return supplierId;
            }

            public void setSupplierId(String supplierId) {
                this.supplierId = supplierId;
            }

            public String getSupplierName() {
                return supplierName;
            }

            public void setSupplierName(String supplierName) {
                this.supplierName = supplierName;
            }

            public String getShipping() {
                return shipping;
            }

            public void setShipping(String shipping) {
                this.shipping = shipping;
            }

            public int getShippingFee() {
                return shippingFee;
            }

            public void setShippingFee(int shippingFee) {
                this.shippingFee = shippingFee;
            }

            public String getRestaurantAddres() {
                return restaurantAddres;
            }

            public void setRestaurantAddres(String restaurantAddres) {
                this.restaurantAddres = restaurantAddres;
            }
        }
    }
}
